#include "../include/mytest.h"

const int test_time = 1000;
const int start = 0;
const int end = 24;

int main(void)
{
    RAND_INIT
    for(int i = 0; i < test_time; i++)
    {
        int myrand = RAND(start,end);
        if(myrand == start || myrand == end - 1) printf("%d\n", myrand);
        if(!(myrand >= start && myrand < end))
        {
            fprintf(stderr, "myrand = %d ", myrand);
            fprintf(stderr, T_R("FAIL!\n"));
            assert(0);
        }
    }
    printf(T_G("ALL PASS!\n"));
    return 0;
}